<template>
  <!-- 热门品牌 -->
  <div class="tot">
    <div class="tit">
      <template>
        <h4>
          {{ titleremen }}<small>{{ totalguoji }}</small>
        </h4>
      </template>
      <slot name="title"></slot>
    </div>
    <div class="box">
      <ul>
        <li v-for="item in rmpp" :key="item.id">
          <img src="" alt="" v-lazy="item.picture" />
        </li>
      </ul>
    </div>
  </div>
</template>
  
  <script>
export default {
  props: ["titleremen", "totalguoji", "rmpp"],

};
</script>
  
  <style lang="scss" scoped>
@import "@/assets/css/mixin.scss";
@import "@/assets/css/color.scss";
.box {
  display: flex;
  width: 100%;
  height: 345px;
  overflow: hidden;
  padding-bottom: 40px;

  ul {
    width: 200%;
    display: flex;
    transition: all 1s;
    justify-content: space-between;
    li {
      width: 240px;
      height: 305px;
      background: #f0f9f4;
      text-align: center;
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}
.tot {
  width: 100%;
  height: 100%;

  .tit {
    width: 100%;
    height: 115px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    h4 {
      margin-left: 5px;
      font-size: 32px;
      font-weight: 400;
      small {
        margin-left: 20px;
        font-size: 16px;
        color: #ccc;
      }
    }
    .xtx-more {
      margin-bottom: 2px;
      span {
        font-size: 16px;
        vertical-align: middle;
        margin-right: 4px;
        color: #999;
      }
      i {
        font-size: 14px;
        vertical-align: middle;
        position: relative;
        top: 2px;
        color: #ccc;
      }
      &:hover {
        span,
        i {
          color: $xtxColor;
        }
      }
    }
  }
  .footer {
    width: 100%;
    height: 420px;
  }
}
</style>